package Test;
import Test.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public  String  GetUserIPByNickname( @Param("nickname") String nickname);
    public  void InsertIP(User user);
    public  void UPDATEIP(User user);
    public  User VerifyUser(User user);
    public List<User> GetFriend(User user);
    public User GetUserByNickName(@Param("nickname") String nickname);
    public void AddFriend(@Param("selfId") int  selfId, @Param("friendId") int friendId);
    public String  GetNickNameByIP(@Param("IP") String  IP);
}
